StartNavigationCallback

This callback is invoked before the engine starts navigation to a resource.

Use the start method to allow navigation start.

Use the ignore method to ignore navigation request.

Important: the engine will be blocked until you return control from the callback.

If the callback throws an exception, the start method will be invoked.

Types

Link copied to clipboard
interface Params
The parameters of the StartNavigationCallback.
Link copied to clipboard
interface Response
A response for StartNavigationCallback.

Functions

Link copied to clipboard
abstract fun on(params: P): R
Invoked when the callback needs a response of type R that may be determined based on the provided callback parameters.